#!/bin/bash

# 编译静态库
# go build -buildmode=c-archive -o oes.a

# 编译动态链接库
rm -f ctest/cmake-build-debug/liboes.dll
rm -f ctest/libs/liboes.dll

go build -buildmode=c-shared -o ctest/libs/liboes.dll
cp -rf ctest/libs/liboes.dll ctest/cmake-build-debug/

echo ">> Enter the exit."
read